package com.jprocms.module.cms.controller.admin.tplinclude.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 模板包含页面 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TplIncludeRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1096")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "模板")
    @ExcelProperty("模板")
    private String tplPath;

    @Schema(description = "是否包含页面")
    @ExcelProperty("是否包含页面")
    private Boolean includePage;

    @Schema(description = "创建人ID", example = "10402")
    @ExcelProperty("创建人ID")
    private Long userId;
    /**
     * 站点ID
     */
    @Schema(description = "站点ID", example = "10402")
    private Long siteId;
    /**
     * 多租户编号
     */
    @Schema(description = "多租户编号", example = "10402")
    private Long tenantId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}